//
//  Const.swift
//  EarbudsCommon
//
//  Created by 李然 on 2024/2/14.
//

@_exported import MoyoungLib
@_exported import SwiftDate
@_exported import RxSwift
@_exported import RxCocoa
@_exported import NSObject_Rx
import Alamofire

/// UserDefault Const
public let kHasLaunched = "HasLaunched"


public let apiSearchCity = "https://www.yahoo.com/news/_tdnews/api/resource/WeatherSearch;"//搜索城市
//雅虎天气Headers
public let yahooHeaders: HTTPHeaders = [
    "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36",
    "Accept": "application/json"
]
public let apiBase = "https://api.moyoung.com"
public let languageConfigAPI = apiBase + "/v2/langs"

//功能电量限制
public let NormalFuncMinBattaryLimit: Int = 10
public let UpgradeFuncMinBattaryLimit: Int = 30

//用于判断是否在充电中， 大于100在充电中
public let MAXBattaryChargingNum: Int = 100

//最小、最大音量
public let MinVolume: Float = 0
public let MaxVolume: Float = 15
